package com.haizhi.crm.sys.auth.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Created by yangyijun on 2018/5/30.
 */
@Data
public class UpdatePasswordQo {

    @NotNull(message = "旧密码不能为空" )
    @ApiModelProperty(value = "旧密码", required = true)
    private String oldPassword;

    @NotNull(message = "新密码不能为空" )
    @ApiModelProperty(value = "新密码", required = true)
    private String newPassword;
}
